package com.dorozco.trains.model;

public class Path {

	private Station stationFrom, stationTo;
	
	private int cost;

	public Path(Station stationFrom, Station stationTo, int cost) {
		this.stationFrom = stationFrom;
		this.stationTo = stationTo;
		this.cost = cost;
	}

	public Station getStationFrom() {
		return stationFrom;
	}

	public void setStationFrom(Station stationFrom) {
		this.stationFrom = stationFrom;
	}

	public Station getStationTo() {
		return stationTo;
	}

	public void setStationTo(Station stationTo) {
		this.stationTo = stationTo;
	}

	public int getCost() {
		return cost;
	}

	public void setCost(int cost) {
		this.cost = cost;
	}	
}
